package com.songjia.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 
 * 
 * @Description: SpringBoot启动类
 *
 * @author: songjia
 * @date: 2017年10月25日 上午11:02:28
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = { "com.songjia.common.service" })
@ComponentScan(basePackages = { "com.songjia.springcloud", "com.songjia.common" }) // 包扫描【common工程中的熔断类】
public class DeptFeignApplication {
	public static void main(String[] args) {
		SpringApplication.run(DeptFeignApplication.class, args);
	}
}
